package cn.iocoder.yudao.module.signature.controller.admin.developeraccount.vo;

import cn.iocoder.yudao.module.signature.controller.admin.developeraccountversion.vo.DeveloperAccountVersionRespVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 苹果开发者账号 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeveloperAccountRespVO {

    @Schema(description = "开发者id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12456")
    @ExcelProperty("开发者id")
    private Long id;

    @Schema(description = "开发者账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11772")
    @ExcelProperty("开发者账号")
    private String developerAccount;

    @Schema(description = "issid", requiredMode = Schema.RequiredMode.REQUIRED, example = "32230")
    @ExcelProperty("issid")
    private String issId;

    @Schema(description = "k_id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6758")
    @ExcelProperty("k_id")
    @JsonProperty("kId")
    private String kId;

    @Schema(description = "c_id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10008")
    @ExcelProperty("c_id")
    @JsonProperty("cId")
    private String cId;

    @Schema(description = "b_id", requiredMode = Schema.RequiredMode.REQUIRED, example = "419")
    @ExcelProperty("b_id")
    @JsonProperty("bId")
    private String bId;

    @Schema(description = "p8地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("p8地址")
    private String p8Url;

    @Schema(description = "p12地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("p12地址")
    private String p12Url;

    @Schema(description = "开发者名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("开发者名字")
    private String developerName;

    @Schema(description = "iphone余量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("iphone余量")
    private Integer iphoneRemaining;

    @Schema(description = "ipad余量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("ipad余量")
    private Integer ipadRemaining;

    @Schema(description = "mac余量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("mac余量")
    private Integer macRemaining;

    @Schema(description = "描述文件地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("描述文件地址")
    private String provisioningUrl;

    @Schema(description = "到期时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("到期时间")
    private LocalDateTime expireDate;

    @Schema(description = "启禁用标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("启禁用标识")
    private Integer enableFlag;

    @Schema(description = "预约标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预约标识")
    private Integer appointmentFlag;

    @Schema(description = "优先标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("优先标识")
    private Integer preferFlag;

    @Schema(description = "售后标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("售后标识")
    private Integer afterSalesFlag;

    @Schema(description = "ipad标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("ipad标识")
    private Integer ipadFlag;

    @Schema(description = "摆烂标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("摆烂标识")
    private Integer slackingFlag;

    @Schema(description = "躺平标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("躺平标识")
    private Integer lyingFlatFlag;

    @Schema(description = "标准标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标准标识")
    private Integer standardFlag;

    @Schema(description = "特标准标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("特标准标识")
    private Integer specialStandardFlag;

    @Schema(description = "加强标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("加强标识")
    private Integer strengthenFlag;

    @Schema(description = "稳定标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("稳定标识")
    private Integer stabilityFlag;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "账号归属类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("账号归属类型")
    private String accountBelongType;



    @Schema(description = "权重", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("权重")
    private Integer weight;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 证书名称
     */
    @Schema(description = "证书名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("证书名称")
    private String cerName;

    /**
     * 证书编号
     */
    @Schema(description = "证书编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("证书编号")
    private String cerNumber;

    /**
     * 证书状态
     */
    @Schema(description = "证书状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @ExcelProperty("证书状态")
    private Integer cerStatus;

    /**
     * ipone余量
     */
    private Integer iphoneCount;

    /**
     * ipad余量
     */
    private Integer ipadCount;

    /**
     * mac余量
     */
    private Integer macCount;

    @Schema(description = "账号版本信息列表")
    private List<DeveloperAccountVersionRespVO> accountVersionRespVOS;
}